package com.hnust.api;

import com.hnust.domain.Examinee;
import com.hnust.domain.PublishPaperInfo;
import com.hnust.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

import java.util.List;
import java.util.Map;

@FeignClient(
        name = "StuListApi",
        url = "${feign.baseUrls}"
)
@Component
public interface StuListApi {
    @GetMapping(value = "/check/getStuList")
    Result<Map<String,List<Examinee>>> getStuListInfo(@RequestParam(value = "testId") String testId,
                                                      @RequestParam(value = "claId") String claId);
}


